﻿using SportsPlatform.BaseModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Model.SportBusiness
{
    /// <summary>
    /// 比赛分组信息表
    /// </summary>
    [Table("T_B_CompetitionGroupingInfo")]
    public class CompetitionGroupingInfo : BaseModel
    {
        /// <summary>
        /// 比赛项目ID
        /// </summary>
        public Guid CompetitionProjectId { get; set; }

        /// <summary>
        /// 比赛场次ID
        /// </summary>
        public Guid EventsSessionId { get; set; }

        /// <summary>
        /// 分组名称
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string Name { get; set; }
    }
}
